# l链接数据库的配置
HOSTNAME = "localhost"
PORT = "3306"
DATABASE = 'oa'
USERNAME = "root"
PASSWORD = "123456"
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI


# 邮箱配置
MAIL_SERVER = 'smtp.qq.com'
MAIL_USE_SSL = True
MAIL_PORT = 465
MAIL_USERNAME = '1148459408@qq.com'
MAIL_PASSWORD = 'qcdimtubfsgkgaeb'
MAIL_DEFAULT_SENDER = '1148459408@qq.com'